package cn.keepme.ep.common.event;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class SysEvent implements Serializable{
	private static final long serialVersionUID = -6408041708412727673L;

	/**事件名称*/
	private String name;
	/**事件参数*/
	private HashMap<String,Object> attr = new HashMap<String,Object>();
	
	public SysEvent(){}
	
	public SysEvent(String name,HashMap<String,Object> attr){
		this.name = name;
		this.attr = attr;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public HashMap<String, Object> getAttr() {
		return attr;
	}

	public void setAttr(HashMap<String, Object> attr) {
		this.attr = attr;
	}
	
}
